<?php
require_once("../src/define.inc.php");
require_once("phpmailer/class.phpmailer.php");

class MyMailer extends PHPMailer
{
    // Set default variables for all new objects
    var $Host		= MAIL_HOST;
	var $Mailer		= MAILER; // "smtp", "mail", "sendmail"
    var $WordWrap	= 75;
	var $CharSet	= 'utf-8';

	function MyMailer()
	{
		//$this->SetLanguage('fr', 'phpmailer/languages/');
		if (!DEV) {
			$this->isMail(); //Sets Mailer to send message using PHP mail() function.
			$this->SMTPAuth	= true;
			$this->Username	= "root@maci-immobilier.com";
			$this->Password	= "saloperie"; 
		}

	}

}
